import { FC, ReactNode } from 'react'
import './card.less'
type TCard = {
  children: ReactNode
  title?: string
  height?: string
}
const Card: FC<TCard> = ({ children, title, height }) => {
  return (
    <div className="card" style={{ height }}>
      <div className="card-title">{title}</div>
      {children}
    </div>
  )
}
export default Card
